//
//  EnumViewVC.swift
//  mySwift
//
//  Created by X-MEN on 2021/12/7.
//

import UIKit

class EnumViewVC: UIViewController {
    
    var week : Week = Week.MON
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor  = .white
        print("-------\(week.rawValue)")
        print("-------\(week.currentCode)")
        print(week.getCode())
    }
    
    
    /*
     // MARK: - Navigation
     
     // In a storyboard-based application, you will often want to do a little preparation before navigation
     override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
     // Get the new view controller using segue.destination.
     // Pass the selected object to the new view controller.
     }
     */
    
}
